Hệ thống xếp lịch học tín chỉ cho sinh viên CNTT trên PHP & MySQL
112.283 lượt xem;
1 // Global styling for this template
2
3 html {
4 position: relative;
5 min-height: 100%;
6 }
7
8 body {
9 overflow-x: hidden;
10 }
11
12 body.sticky-footer {
13 margin-bottom: $sticky-footer-height;
14 .content-wrapper {
15 min-height: calc(100vh - #{$sticky-footer-height} - #{$navbar-base-height});
16 }
17 }
18
19 body.fixed-nav {
20 padding-top: $navbar-base-height;
21 }
22
23 .content-wrapper {
24 min-height: calc(100vh - #{$sticky-footer-height});
25 padding-top: 1rem;
26 }
27
28 // Scroll to top button
29 .scroll-to-top {
30 position: fixed;
31 right: 15px;
32 bottom: 3px;
33
34 display: none;
35
36 width: 50px;
37 height: 50px;
38
39 text-align: center;
40
41 color: white;
42 background: fade-out($gray-800, .5);
43
44 line-height: 45px;
45 &:focus,
46 &:hover {
47 color: white;
48 }
49 &:hover {
50 background: $gray-800;
51 }
52 i {
53 font-weight: 800;
54 }
55 }
2
3 html {
4 position: relative;
5 min-height: 100%;
6 }
7
8 body {
9 overflow-x: hidden;
10 }
11
12 body.sticky-footer {
13 margin-bottom: $sticky-footer-height;
14 .content-wrapper {
15 min-height: calc(100vh - #{$sticky-footer-height} - #{$navbar-base-height});
16 }
17 }
18
19 body.fixed-nav {
20 padding-top: $navbar-base-height;
21 }
22
23 .content-wrapper {
24 min-height: calc(100vh - #{$sticky-footer-height});
25 padding-top: 1rem;
26 }
27
28 // Scroll to top button
29 .scroll-to-top {
30 position: fixed;
31 right: 15px;
32 bottom: 3px;
33
34 display: none;
35
36 width: 50px;
37 height: 50px;
38
39 text-align: center;
40
41 color: white;
42 background: fade-out($gray-800, .5);
43
44 line-height: 45px;
45 &:focus,
46 &:hover {
47 color: white;
48 }
49 &:hover {
50 background: $gray-800;
51 }
52 i {
53 font-weight: 800;
54 }
55 }